﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using bdxyit.com.RecruitmentAppSys.Models;

/***
*机器名：BDXYIT-HUI
*项目名称：$projectname$
*命名空间：bdxyit.com.RecruitmentAppSys.IDAL
*文件名：UserEducationModels
*系统时间：3/25/2012 7:16:18 PM
*当前用户：huihui
*创建时间：2012
*
*修改时间：2012 3/25/2012 7:16:18 PM
*修改事件：
***/

namespace bdxyit.com.RecruitmentAppSys.IDAL
{
    public interface IUserEducationDAL
    {
        ///// <summary>
        ///// 获取所有的
        ///// </summary>
        ///// <returns></returns>
        UserEducation SelectUserEducationByUserIdAndFlag(string userID, int flag);

        ///// <summary>
        ///// 获取
        ///// </summary>
        ///// <returns></returns>
        List<UserEducation> SelectUserEducationByUserId(string userId);

        /// <summary>
        /// 删除用户教育信息
        /// </summary>
        /// <param name="userID"></param>
        /// <returns></returns>
        bool DeleteUserEducationByUserId(string userID);

        /// <summary>
        /// 删除用户教育信息
        /// </summary>
        /// <param name="userID"></param>
        /// <param name="flag"></param>
        /// <returns></returns>
        bool DeleteUserEducationByUserIdAndFlag(string userID, int flag);

        /// <summary>
        /// 插入用户教育信息
        /// </summary>
        /// <param name="ue"></param>
        /// <returns></returns>
        bool InsertUserEducationByUserId(UserEducation ue);

        /// <summary>
        /// 编辑用户教育信息
        /// </summary>
        /// <param name="ue"></param>
        /// <returns></returns>
        bool EditUserEducationByUserId(UserEducation ue);
    }
}